package com.ktgj.hotel.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 退款申请对象 hotel_order_refundapply
 * 
 * @author ruoyi
 * @date 2021-12-08
 */
public class HotelOrderRefundapply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long refunid;

    /** 订单号 */
    @Excel(name = "订单号")
    private Long orderid;

    /** 渠道编号 */
    @Excel(name = "渠道编号")
    private Long supplierid;

    /** 卡种 */
    @Excel(name = "卡种")
    private String bankname;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardno;

    /** 有效期 */
    @Excel(name = "有效期")
    private String cardlimit;

    /** 持卡人姓名 */
    @Excel(name = "持卡人姓名")
    private String cardowner;

    /** 证件类型 */
    @Excel(name = "证件类型")
    private Long credentialstypecode;

    /** 证件号码 */
    @Excel(name = "证件号码")
    private String credentialsno;

    /** 验证码CVV2 */
    @Excel(name = "验证码CVV2")
    private String cvv2;

    /** 手机号 */
    @Excel(name = "手机号")
    private String tel;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal refundamount;

    /** 退款状态 0:退款中 1:退款成功 2:退款失败 */
    @Excel(name = "退款状态 0:退款中 1:退款成功 2:退款失败")
    private Long refundstatus;

    /** 是否导出过,0,否，1,是 */
    @Excel(name = "是否导出过,0,否，1,是")
    private Long isexport;

    private Date createtime;

    public Date getCreatetime()
    {
        return createtime;
    }

    public void setCreatetime(Date createtime)
    {
        this.createtime = createtime;
    }

    public Long getRefunid()
    {
        return refunid;
    }

    public void setRefunid(Long refunid)
    {
        this.refunid = refunid;
    }

    public Long getOrderid()
    {
        return orderid;
    }

    public void setOrderid(Long orderid)
    {
        this.orderid = orderid;
    }

    public Long getSupplierid()
    {
        return supplierid;
    }

    public void setSupplierid(Long supplierid)
    {
        this.supplierid = supplierid;
    }

    public String getBankname()
    {
        return bankname;
    }

    public void setBankname(String bankname)
    {
        this.bankname = bankname;
    }

    public String getCardno()
    {
        return cardno;
    }

    public void setCardno(String cardno)
    {
        this.cardno = cardno;
    }

    public String getCardlimit()
    {
        return cardlimit;
    }

    public void setCardlimit(String cardlimit)
    {
        this.cardlimit = cardlimit;
    }

    public String getCardowner()
    {
        return cardowner;
    }

    public void setCardowner(String cardowner)
    {
        this.cardowner = cardowner;
    }

    public Long getCredentialstypecode()
    {
        return credentialstypecode;
    }

    public void setCredentialstypecode(Long credentialstypecode)
    {
        this.credentialstypecode = credentialstypecode;
    }

    public String getCredentialsno()
    {
        return credentialsno;
    }

    public void setCredentialsno(String credentialsno)
    {
        this.credentialsno = credentialsno;
    }

    public String getCvv2()
    {
        return cvv2;
    }

    public void setCvv2(String cvv2)
    {
        this.cvv2 = cvv2;
    }

    public String getTel()
    {
        return tel;
    }

    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public BigDecimal getRefundamount()
    {
        return refundamount;
    }

    public void setRefundamount(BigDecimal refundamount)
    {
        this.refundamount = refundamount;
    }

    public Long getRefundstatus()
    {
        return refundstatus;
    }

    public void setRefundstatus(Long refundstatus)
    {
        this.refundstatus = refundstatus;
    }

    public Long getIsexport()
    {
        return isexport;
    }

    public void setIsexport(Long isexport)
    {
        this.isexport = isexport;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("refunid", getRefunid())
            .append("orderid", getOrderid())
            .append("supplierid", getSupplierid())
            .append("bankname", getBankname())
            .append("cardno", getCardno())
            .append("cardlimit", getCardlimit())
            .append("cardowner", getCardowner())
            .append("credentialstypecode", getCredentialstypecode())
            .append("credentialsno", getCredentialsno())
            .append("cvv2", getCvv2())
            .append("tel", getTel())
            .append("refundamount", getRefundamount())
            .append("refundstatus", getRefundstatus())
            .append("isexport", getIsexport())
            .toString();
    }
}
